package com.wryyyyy;

import com.spring4all.mongodb.EnableMongoPlus;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan("com.wryyyyy.mapper")
@SpringBootApplication
@EnableScheduling   // 1.开启定时任务
@EnableAsync        // 2.开启多线程
@EnableMongoPlus
public class TreatApplication {
    public static void main(String[] args) {
        SpringApplication.run(TreatApplication.class, args);
    }
}
